.workCard {
  width: 210px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  cursor: pointer;
}

.workCard:hover {
  box-shadow: 0 4px 12px 0 rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.workCardCover {
  position: relative;
  width: 100%;
  height: 230px;
  overflow: hidden;
  background: #f5f6f7;
  display: flex;
  align-items: center;
  justify-content: center;
}

.workCardCover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.coverOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.workCard:hover .coverOverlay {
  opacity: 1;
  visibility: visible;
}

.previewButton {
  padding: 8px 24px;
  background: #fff;
  border-radius: 20px;
  color: #333;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  transform: translateY(20px);
  opacity: 0;
}

.workCard:hover .previewButton {
  transform: translateY(0);
  opacity: 1;
}

.previewButton:hover {
  background: #f0f0f0;
}

.moreButton {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.9);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 3;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.workCard:hover .moreButton {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.moreButton:hover {
  background: #fff;
}

.actionButtons {
  display: none;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #f0f0f0;
}

.workCard:hover .actionButtons {
  display: flex;
}

.actionButton {
  flex: 1;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 4px;
  background: #f5f6f7;
  color: #666;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.actionButton:hover {
  background: #e6e6e6;
  color: #333;
}

.actionButtonIcon {
  font-size: 16px;
}

.workCardStatus {
  position: absolute;
  left: 0;
  top: 0;
  background: #999;
  color: #fff;
  font-size: 13px;
  padding: 2px 12px;
  border-radius: 8px 0 8px 0;
  z-index: 2;
}

.workCardDuration {
  position: absolute;
  right: 8px;
  bottom: 8px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 4px;
  z-index: 2;
}

.workCardTypeTag {
  display: inline-block;
  margin: 8px 12px 0 12px;
  font-size: 13px;
  color: #1677ff;
  background: #f5f6f7;
  border-radius: 4px;
  padding: 2px 8px;
  width: fit-content;
}

.workCardTitle {
  font-size: 15px;
  color: #222;
  font-weight: 500;
  margin: 8px 12px 0 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
}

.workCard:hover .workCardTitle {
  display: none;
}

.workCardDate {
  font-size: 13px;
  color: #999;
  margin: 4px 12px 0 12px;
  display: block;
}

.workCard:hover .workCardDate {
  display: none;
}

.workCardMeta {
  display: flex;
  gap: 8px;
  font-size: 13px;
  color: #999;
  margin: 8px 12px 12px 12px;
  align-items: center;
}

.moreDropdown {
  position: absolute;
  top: 50px;
  right: 12px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 4;
  overflow: hidden;
}

.dropdownItem {
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.dropdownItem:hover {
  background: #f5f6f7;
} 